Method and device for event notification in home network system

ABSTRACT

The present invention separately includes a push server which enables a notification message regarding occurrence of an event to be received even though a smart home application is turned off in a mobile terminal. The present invention receives a notification message using the push server, and resource information corresponding to an event of a home device is included in the notification message which is transmitted from the push server to the mobile terminal.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a U.S. National Stage application under 35 U.S.C. § 371 of an International application filed on Dec. 14, 2014 and assigned application number PCT/KR2014/012584, which claimed the benefit of a Korean patent application filed on Dec. 20, 2013 in the Korean Intellectual Property Office and assigned Serial number 10-2013-0160535, the entire disclosure of each of which is hereby incorporated by reference.

TECHNICAL FIELD

The present invention relates to a method and an apparatus for notifying of an event in a home network system.

BACKGROUND ART

A home network system refers to a system that connects home devices installed in a house through a wired or wireless network so as to enable communication between the home devices. In the home network system, a change in particular information of home devices means generation of an event in the home device. The event of the home device may include, for example, a refrigerator door opening.

FIG. 1 illustrates a structure of a home network system for notifying of an event of a general home device.

When an event is generated in the home device (for example, refrigerator) in step 101 (or when particular information is changed in the home device), a mobile terminal 110 makes a request for subscription to be informed of the generation of the event to the home device 100 (that is, subscription process). Then, the home device 100 transmits an event notification including information related to the event (for example, door opening) to the mobile terminal 110 in step 103.

An application, which is not being used, is generally turned off in the mobile terminal (that is, the application is not being executed). Accordingly, when the application is not being executed, the mobile terminal 110 cannot receive the event notification even though the subscription process with the home device 110 has been performed.

DETAILED DESCRIPTION OF THE INVENTION Technical Problem

The present invention provides a method and an apparatus for receiving an event notification although an application for receiving a notification message is not being executed.

The present invention provides a method and an apparatus for reducing a load of a push server.

Technical Solution

In accordance with a method according to an embodiment of the present invention, a method of receiving an event notification message of a home device by a mobile terminal in a home network system includes: receiving a push message including information on a home device, in which an event is generated, from a push server; executing an application of the mobile terminal; and receiving an event notification message from the home device.

In accordance with an apparatus according to an embodiment of the present invention, an apparatus for receiving an event notification message of a home device by a mobile terminal in a home network system includes a controller that receives a push message including information on a home device, in which an event is generated, from a push server, executes an application of the mobile terminal, and receives an event notification message from the home device.

In accordance with a method according to an embodiment of the present invention, a method of transmitting an event notification message of a home device by the home device in a home network system includes: detecting an event; transmitting an event message including information on a home device, in which an event is generated, to a push server; and transmitting an event notification message to a mobile terminal.

In accordance with an apparatus according to an embodiment of the present invention, an apparatus for transmitting an event notification message of a home device by the home device in a home network system includes a controller that detects an event, transmits an event message including information on a home device, in which an event is generated, to a push server and transmits an event notification message to a mobile terminal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a structure of a home network system for an event notification of a general home device;

FIG. 2 illustrates a structure of a home network system for an event notification of a home device according to a first embodiment of the present invention;

FIG. 3 illustrates a structure of a home network system for an event notification of a home device according to a second embodiment of the present invention;

FIG. 4 illustrates an example of a notification message according to the second embodiment of the present invention;

FIG. 5 illustrates an example of an event notification window of the mobile terminal according to an embodiment of the present invention;

FIG. 6 is a flowchart illustrating an operation of the mobile terminal according to an embodiment of the present invention;

FIG. 7 is a flowchart illustrating an operation of the home device according to an embodiment of the present invention; and

FIG. 8 is a flowchart illustrating an operation of the push server according to an embodiment of the present invention.

MODE FOR CARRYING OUT THE INVENTION

Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The same elements will be designated by the same reference numerals although they are shown in different drawings. Further, a detailed description of a known function and configuration which may make the subject matter of the present invention unclear will be omitted.

Further, terms or words used in the description and claims below should not be interpreted as only general or dictionary meanings, but interpreted as meanings and concepts satisfying the technical spirit of the present invention based on a principle in that the inventor can appropriately define his/her invention with a concept of the terms in order to describe the invention in the best method. An application described hereinafter may be, for example, a smart home application. Further, since application execution and application driving described hereinafter have the same meaning, they may be interchangeably used. In addition, since reception of an event notification and reception of an event notification message described hereinafter have the same meaning, they may be interchangeably used.

FIG. 2 illustrates a structure of a home network system for an event notification of a home device according to a first embodiment of the present invention.

Referring to FIG. 2, the home network system includes a home device 200 having control and communication functions, a push server 220, and a mobile terminal 210.

Although FIG. 2 illustrates only one home device, the present invention can be applied to a case where a plurality of home devices exist. Hereinafter, a case where one home device exists will be described. The home device 200 is located inside (or outside) a house, and includes smart home appliances, security devices, lighting devices, energy devices, and the like. An event described in the present invention may be, for example, an event generated in the smart home appliance, the security device, the lighting device, the energy device, and the like. However, the event is not limited thereto. For example, the smart home appliance may be a smart TV, an Internet TV, a general TV, a refrigerator, a washing machine, a robot cleaner, and the like. For example, the security device may be a door lock, a security camera, a security sensor, and the like, the lighting device may be a Light Emitting Diode (LED) lighting device, and the like, and the energy device may be a power measurement device, a power socket, an electric outlet, a multi-outlet strip, and the like. Additionally, home devices may be, for example, a Personal Computer (PC), an IP camera, an Internet phone, a wired/wireless phone, a mobile phone within a house, and the like.

The home device 200 may be configured to communicate with the push server 220 according to a wired or wireless communication scheme, receive a control command from the push server 220, and transmit required information corresponding to the control command to the push server 220. At this time, the home device 200 may communicate with the push server 220 via a home gateway which is not illustrated in the drawing.

The push server 220 corresponds to a server that provides a push service (for example, Samsung Push Platform (SSP), Google Cloud Message (GCM), and the like) for receiving particular event information by using an Operating System (OS) and a message service of a system level even though a particular service application does not operate.

The push server 220 includes communication modules for communicating with the home device 200 according to a wired or wireless communication scheme. Further, the push server 220 may register information on the home device 200, control an operation and a state of the home device 200, collect required information from the home device 200, and manage the collected information. Particularly, the push server 220 may be connected to a data network, that is, an IP network such as the Internet to allow access of the mobile terminal 210 through the Internet and transfer a control signal received from the mobile terminal 210 to the corresponding home device 200. Further, when the push server 220 receives an event notification including information related to door opening from the home device 200, the push server 220 transmits a push service of informing the mobile terminal 207 having a subscription relation of the door opening. The event may be, for example, a refrigerator door opening, detection of trespassing by a security camera, and the like.

The mobile terminal 210 executes and installs an application which can communication with the push server. In addition, the mobile terminal 210 executes and installs an application which can communication with the home device. The application may be limited to be installed only in the mobile terminal 210 of the user who has passed through a predetermined authentication process.

The home network system configured as described above may provide a home entertainment service such as an Internet TV (IPTV), a smart TV, a Video on Demand (VoD) through the Internet, a home data communication service such as data sharing, an Internet call (for example, a Voice over IP (VoIP)), and a video call, and a home automation service such as a remote control of home appliances, remote meter reading, crime prevention, and disaster prevention. That is, the home network system connects and controls all types of home devices used inside/outside the house through one network.

Meanwhile, a user in the outside may remotely access each home device included in within the home network system by using wireless communication equipment such as the mobile terminal 210. The mobile terminal may be, for example, a Personal Digital Assistant (PDA) having a communication function, a smart phone, a mobile phone, a tablet computer, a notebook, and the like, and may access the home network system through a service provider network and the Internet.

Referring to FIG. 2, when an event is generated in the home devices (or particular information is changed), the mobile terminal 210 may make a request for subscription to be informed of the generation of the event to the home device 200 through the push server 220 in steps 201 and 203. The mobile terminal 210 which desires to receive an event notification is registered in the home device 200 in advance (that is, a registration process is performed before the main operation of the present invention is performed). Further, when particular information is changed, the mobile terminal which desires to receive particular information is registered in the push server 220 in advance. Then, the home device 200 transmits an event notification including information related to the event (for example, door opening or the like) to the push server 220 in step 205. Alternatively, the home device 200 transmits a message indicating that the particular information has been changed to the push server 220 in step 205. Then, the push server 220 provides a push service including the information related to the event to the mobile terminal 210 or provides a push service including the change in the particular information to the mobile terminal 210 in step 207. Accordingly, the mobile terminal 210 may recognize the generation of the event such as the door opening or the like in the home device 200.

Although the door opening is described as an example of the type of event in the first embodiment of the present invention, the type of event may include, for example, motion detection, sound detection, fire detection, gas detection, refrigerator event, an air conditioner (air con) event, a washer event, and the like.

The above described embodiment has a limitation in a message size which can be transmitted through the push service, and has a disadvantage in that it takes time to transmit a push message to the mobile terminal registered in the push server since the message size is big. Further, the above described embodiment has a disadvantage in that individual events of the home devices should be registered in the push server. An embodiment to compensate for the disadvantages is a second embodiment of the present invention described below.

FIG. 3 illustrates a structure of a home network system for an event notification of a home device according to the second embodiment of the present invention.

It is assumed that an event of a home device is directly registered in the home device in the second embodiment of the present invention.

Although not illustrated in FIG. 3, when an event is generated in the home devices, a mobile terminal 310 makes a request for subscription to be informed of the generation of the event to a home device 300 through a push server 320 (that is, subscription process). Further, when particular information is changed, the mobile terminal 310 which desires to receive the changed particular information registers in the push server 320. The subscription process means an operation in which the mobile terminal 310 which desires to receive an event notification is registered in the home device 300 in advance.

In step 301, it is assumed that an application is not executed in the mobile terminal 310. When particular information is changed in the home device (that is, when an event is generated) in step 303, the home device 300 identifies whether the application of the mobile terminal 310 is executed, by using, for example, a device discovery operation and a presence server in step 305. When it is determined that the application of the mobile terminal 310 is not being executed in step 307, the home device 300 informs the push server 320 of the generation of the event (for example, door opening or the like) through an event (or an event message or a push message) including resource information of the generated event in step 309. Since the event of step 309 has a limitation in a text length, the event cannot include all pieces of information included in an event notification of step 321 described below. Accordingly, the information included in the event of step 309 includes minimum information which the mobile terminal 310 should know among the information included in the event notification of step 321. The minimum information includes, for example, an event type, a home device URI, and the like. The push server 320 provides the push message including resource information of the generated event to the mobile terminal 310 in step 311. Accordingly, the mobile terminal 310 automatically executes the application in step 313. Further, the mobile terminal 310 displays an information window, which can be controlled based on the resource information of the generated event, on a notification bar of the mobile terminal 310 in step 315. The notification bar of the mobile terminal 310 will be described in detail with reference to FIG. 5 below.

The home device 300 checks whether the application of the mobile terminal 310 is executed in step 317. When it is identified that the application of the mobile terminal 310 is executed in step 319, the home device 300 directly transmits an event notification to the mobile terminal 310 in step 321. Accordingly, the mobile terminal 310 may recognize the generation of the event such as the door opening or the like in the home device.

According to an implementable embodiment, when it is determined that the application of the mobile terminal 310 is executed, the home device 300 may directly transmit the event notification to the mobile terminal 310 by a request from the mobile terminal 310 in step 321.

Although the door opening is described as an example of the type of event in the second embodiment of the present invention, the type of event may include, for example, motion detection, sound detection, fire detection, gas detection, refrigerator event, an air conditioner (air con) event, a washing machine (washer) event, and the like.

FIG. 4 illustrates an example of a notification message according to the second embodiment of the present invention.

Information included in the notification message includes information, which is not included in the push message, as well as information included in the push message as illustrated in FIG. 4.

The information included in the push message in step 311 of FIG. 3 corresponds to resource information of the home device having the generated event. In FIG. 4, information 401 included in the push message may be, for example, a resource Uniform Resource Identifier (URI) (or a URI) as indicated by reference numeral 403. When the URI included in the push message is received, the mobile terminal may know which home device has the generated event.

According to an optional embodiment, the information included in the push message may include an identifier indicating the type of event.

Table 1 below shows identifiers (that is, values in Table 1) corresponding to event types.

TABLE 1 Event Type Value Motion detection 01 Sound detection 02 Fire detection 03 Gas detection 04 Refrigerator event 05 Aircon event 06 Washer event 07 Reserved

Referring to Table 1 above, for example, a motion detection may be configured as “01”, a sound detection may be configured as “02”, a fire detection may be configured as “03”, a gas detection may be configured as “04”, a refrigerator event may be configured as “05”, an air conditioner (air con) event may be configured as “06”, and a washer event may be configured as “07”. When the indicator included in the push message is received, the mobile terminal may know the type of event generated in the home device.

According to an optional embodiment, the information included in the push message may be a time when the event is generated, an identification of the home device, state information of the home device, an alarm of the home device, an identification of the push server, and the like.

FIG. 5 illustrates an example of an event notification window of the mobile terminal according to an embodiment of the present invention.

Before the event notification window of the mobile terminal of FIG. 5 is displayed, the mobile terminal may display concretely which event is generated and in which home device the event was generated.

When the mobile terminal automatically executes the application in step 313 of FIG. 3, a controllable information window is displayed on the notification bar of the mobile terminal based on resource information (that is, information on the home device in which the event is generated) of the generated event. FIG. 5 illustrates an example of a notification bar 510. The notification bar includes, for example, an execution icon 501, a pause icon 503, and a 119 icon 505. The 119 icon 505 may be variously changed according to the event type. The form of the notification bar may be added/changed according to the type of event, the type of mobile terminal, characteristics of the mobile terminal, and the like.

The execution icon 501 is used when a control command for executing the operation of the home device is required. When a user gesture, for example, a touch is detected on the execution icon 501, the mobile terminal executes a home smart application.

The pause icon 503 is used when a control command for stopping the operation of the home device is required. When a user gesture, for example, a touch is detected on the pause icon 503, the mobile terminal stops the smart home application.

The 119 icon 505 is used when an event of the home device is not detected, that is, when a call to 119 is made. When a user gesture, for example, a touch is detected on the 119 icon 505, the mobile terminal calls 119.

FIG. 6 is a flowchart illustrating the operation of the mobile terminal according to the second embodiment of the present invention.

It is assumed that an application is not executed in the mobile terminal in step 601. In step 603, the mobile terminal determines whether an event is generated in the home device. At this time, when the event is generated in the home device in step 603, the mobile terminal receives a push message including resource information from the push server in step 605. The resource information may include a URL and the like.

The mobile terminal automatically executes the application based on the resource information included in the push message in step 607. Further, the mobile terminal displays a controllable information window based on the resource information included in the push message in step 609. At this time, the mobile terminal may inform the home device that the application is being executed. According to an optional embodiment, the home device may identify whether the mobile terminal executes the application.

The mobile terminal may make a request for an event notification message to the home device in step 611. However, the operation of step 611 can be omitted.

The mobile terminal receives the event notification (or the event notification message) from the home device which has identified that the mobile terminal is executing the application in step 613. Alternatively, after making the request for the event notification message to the home device, the mobile terminal receives the event notification (or the event notification message) from the home device in step 613.

FIG. 7 is a flowchart illustrating the operation of the home device according to the second embodiment of the present invention.

The home device determines whether an event is generated in step 701. When it is determined that the event is generated, the home device determines whether the mobile terminal executes an application in step 703. The home device may determine whether the mobile terminal 310 executes the application by using a device discovery operation, a presence server, and the like. The home device may ask the mobile terminal about whether the application is executed in order to detect the application execution of the mobile terminal. Further, the home device may receive a notification of the application execution from the mobile terminal in order to detect the application execution of the mobile terminal.

When the mobile terminal is not executing the application, the home device transmits an event notification to the push serer in step 705. Thereafter, the home device receives a request for an event notification message from the mobile terminal which is executing the application in step 707. The operation of step 707 can be omitted. When the home device identifies that the mobile terminal is executing the application or receives the request for the event notification message from the mobile terminal, the home device transmits the event notification (or event notification message) to the mobile terminal in step 709. The event notification (or event notification message) of step 709 is the same as the notification message of FIG. 4.

FIG. 8 is a flowchart illustrating the operation of the push server according to the second embodiment of the present invention.

The push server receives an event notification including information on the home device, in which the event is generated, from the home device in step 801. The push server converts the received event notification to a push message for providing a push service. The push server transmits the push message including resource information of the generated event (that is, information on the home device in which the event is generated) in step 803.

According to the present invention, the event notification can be received although the application is not being executed.

The present invention can reduce load of the push server. Further, according to the present invention, as the notification message is received through a separate push server, the mobile terminal can accurately receive the notification message.

In the home network system according to embodiments of the present invention, a configuration, storage, and management of the push message can be implemented in the form of hardware, software, or a combination of hardware and software. File data and/or the software can be stored, for example, in a volatile or non-volatile storage device such as a Read Only Memory (ROM), a memory such as a Random Access Memory (RAM), a memory chip, a memory device, or an integrated circuit, or an optical or magnetic recordable and machine (for example, computer)-readable storage medium such as a Compact Disk (CD), a Digital Versatile Disc (DVD), a magnetic disk, or a magnetic tape, regardless of its ability to be erased or its ability to be re-recorded.

Although the present invention has been described above, it is understood by those skilled in the art which the present invention pertains to that the present invention may be variously substituted, varied, and modified without departing from the technical spirit and scope of the present invention, and is not limited to the above-described embodiments and the accompanying drawings. 

The invention claimed is:
 1. A method of receiving an event notification message of a home device by a mobile terminal in a home network system, the method comprising: receiving, by the mobile terminal, a push message including resource information of the home device from a push server, the resource information indicating on which home device an event is generated, while an application for controlling the home device is not executed on the mobile terminal; in response to receiving the push message, executing, by the mobile terminal, the application for controlling the home device; and receiving, by the mobile terminal, the event notification message directly transmitted from the home device using the application for controlling the home device, the event notification message indicating status information of the home device not included in the push message in response to receiving the push message for an actual occurrence of the event and execution of the application for controlling the home device.
 2. The method of claim 1, further comprising displaying an icon which is controlled based on the resource information of the home device, in which the event is generated.
 3. An apparatus for receiving an event notification message of a home device in a home network system, the apparatus comprising: a receiver; and at least one processor configured to: control the receiver to receive a push message including resource information of the home device from a push server, the resource information indicating on which home device an event is generated, while an application for controlling the home device is not executed on the apparatus, in response to receiving the push message, execute the application for controlling the home device, and control the receiver to receive the event notification message directly transmitted from the home device using the application for controlling the home device, the event notification message indicating status information of the home device not included in the push message in response to receiving the push message for an actual occurrence of the event and execution of the application for controlling the home device.
 4. The apparatus of claim 3, wherein the at least one processor is further configured to display an icon which is controlled based on the resource information of the home device, in which the event is generated.
 5. The apparatus of claim 3, wherein the push message comprises information regarding an execution of the application in the home device.
 6. A method of transmitting an event notification message of a home device by the home device in a home network system, the method comprising: detecting, by the home device, an event; in response to detecting the event, transmitting, to a mobile terminal, a request for identifying whether an application for controlling the home device is executed on the mobile terminal or not; in response to receiving, from the mobile terminal, a first response indicating that the application for controlling the home device is not executed on the mobile terminal, transmitting, by the home device, an event message indicating that the event is generated on the home device to a push server; receiving, from the mobile terminal, a second response indicating that the application for controlling the home device is executed on the mobile terminal, wherein the application is executed on the mobile terminal after the mobile terminal receives a push message from the push server, and the push message comprises resource information indicating on which home device the event is generated; and in response to receiving the second response from the mobile terminal caused by an actual occurrence of the event, transmitting, by the home device, the event notification message directly indicating status information of the home device not included in the push message to the mobile terminal.
 7. The method of claim 6, wherein the resource information of the home device, in which the event is generated, comprises a uniform resource identifier (URI) of the home device.
 8. The method of claim 6, wherein the resource information of the home device, in which the event is generated, comprises an identifier indicating a type of the event of the home device.
 9. A home device for transmitting an event notification message in a home network system, the home device comprising: a transmitter; and at least one processor configured to: detect an event, in response to detecting the event, control the transmitter to transmit, to a mobile terminal, a request for identifying whether an application for controlling the home device is executed on a mobile terminal or not, in response to receiving, from the mobile terminal, a first response indicating that the application for controlling the home device is not executed on the mobile terminal, control the transmitter to transmit an event message indicating that the event is generated on the home device to a push server, control a receiver to receive, from the mobile terminal, a second response indicating that the application for controlling the home device is executed on the mobile terminal, wherein the application is executed on the mobile terminal after the mobile terminal receives a push message from the push server, and the push message comprises resource information indicating on which home device the event is generated, and in response to receiving the second response from the mobile terminal caused by an actual occurrence of the event, control the transmitter to transmit the event notification message directly indicating status information of the home device not included in the push message to the mobile terminal.
 10. The home device of claim 9, wherein the resource information of the home device, in which the event is generated, comprises a uniform resource identifier (URI) of the home device.
 11. The home device of claim 9, wherein the resource information of the home device, in which the event is generated, comprises an identifier indicating a type of the event of the home device.
 12. A method of transmitting a notification message in a home network system, the method comprising: receiving, by a push server, an event message indicating that an event is generated on a home device from the home device; converting, by the push server, the event message into a push message, wherein the push message includes resource information indicating on which home device the event is generated; transmitting, by the push server, the push message to a mobile terminal; executing, by the mobile terminal, an application for controlling the home device in response to receiving the push message from the push server; and receiving, by the mobile terminal, an event notification message directly transmitted from the home device using the application for controlling the home device, the event notification message indicating status information of the home device not included in the push message in response to receiving, by the mobile terminal, the push message for an actual occurrence of the event and execution of the application for controlling the home device.
 13. A system for transmitting a notification message in a home network system, the system comprising: a push server comprising: a first receiver configured to receive an event message indicating that an event is generated on a home device from the home device, a first processor configured to convert the event message into a push message, wherein the push message comprises a resource information indicating on which home device the event is generated, and a first transmitter configured to transmit the push message to a mobile terminal; and a mobile terminal comprising: a second processor configured to execute an application for controlling the home device in response to receiving the push message from the push server; and a second receiver configured to receive an event notification message directly transmitted from the home device using the application for controlling the home device, the event notification message indicating status information of the home device not included in the push message in response to receiving the push message for an actual occurrence of the event and execution of the application for controlling the home device.
 14. The system of claim 13, wherein the push message comprises information regarding an execution of the application in the mobile terminal. 